<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
     <meta name="referrer" content="never">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <title>{$data.title}</title>
    <link rel="stylesheet" href="__LAYUI__/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/RemixIcon_Font_2405212219/remixicon.css">
    <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.3.0/weui.min.css">
    <script src="__STATIC__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8" src="//lib.sinaapp.com/js/jquery.cookie/jquery.cookie.js"></script>
    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <link rel="stylesheet" href="https://g.alicdn.com/apsara-media-box/imp-web-player/2.16.3/skins/default/aliplayer-min.css" />
    <script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/apsara-media-box/imp-web-player/2.16.3/aliplayer-h5-min.js"></script>

    <style>
        :root{--acolor: rgb(87, 107, 149);}
        #fenxiang {width: 100%;padding-bottom: 100vh;position: fixed;z-index: 999;top: 0;left: 0;background: rgba(0, 0, 0, 1);display: none;}

        .view {margin: 15px 0;color: #999;}
        .zan {padding: 15px 0;display: flex; align-items: center; justify-content: space-between;text-align: left;color: rgb(87, 107, 149);font-size: 80%;font-weight: 300 !important;}

        .comment {margin-top: 15px;margin-bottom: 60px;max-width: 100%;}
        .comment .title {position: relative;}
        .comment .title>span {position: absolute;right: 0;color: rgb(87, 107, 149);}

        .comment table, .comment tr, .comment td {border: 0;margin: 0;padding: 10px 0;}
        .comment table {width: 100%;}
        .comment table td img {border-radius: 4px;width: 40px;margin-right: 5px;}
        .comment table p {color:#999}
        .comment .czan {width: 40px;vertical-align: middle;text-align: right;padding-left: 5px;color: var(--acolor);}
        .comment .czan i {font-size: 20px;margin-right: 5px;}
            .share-arrow {
                position: fixed;
                top: 30px;
                right: 5px;
                width: 45px;
                z-index: 999;
                -webkit-animation: backArrowFlow .4s ease infinite;
                animation: backArrowFlow .4s ease infinite;
            }
            
            @keyframes backArrowFlow {
                0%, 100% {
                    top: 30px;
                }

                50% {
                    top: 40px;
                }
            }
            
            .backt{
                position: fixed;
                top: 30px;
                left: 0px;
                background: #b7b0b0;
                font-size: 13px;
                padding: 2px 8px; 
                border-radius: 0px 16px 16px 0px;
                opacity: 0.8;
                z-index: 99;
                font-weight: 600;
                
            }
            
            .poster-txt{position: relative;overflow: hidden;transition: height 0.24s;height: {$data.height}px;}
            .poster-txt.xg:after{content: "";position: absolute;bottom: 0;display: block;width: 100%;height: 18px;background: -moz-linear-gradient(to bottom, rgba(255,255,255,0), #fff);background: -webkit-linear-gradient(to bottom, rgba(255,255,255,0), #fff);background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);}
            .poster-btn{ outline:none;display: block;margin: 10px auto;color: #666;font-size: 16px;text-align: center;
                color: #4CAF50;
                width: 60px;
                font-weight: 800;
                font-size: 14px;
                border: 1px solid #4CAF50;
                border-radius: 30px;
                padding: 5px 20px;
                            
                
            }     

            .swiper-pagination-fraction{
           
                background: white;
                width: unset !important;
                
                right: 10px !important;
                left: unset !important;
                border-radius: 10px;
                padding: 0px 10px;
                color: #999999;
                font-weight: 800;
                
            }
            .ads img{width:100%;height:auto;}

    </style>

</head>

<body>
    <input type="hidden" name="" id="wenzhang" value="{$data.wenzhang}" />
    <input type="hidden" name="" id="url" value="{$data.url}" />
    <input type="hidden" name="" id="imgs" value="{$data.imgs}" />
<div class="backt" id="app"><a href="{$data.new_shre_url}" target="_blank">返 回</a></div>
<img src="/static/img/shareright.png" alt="" class="share-arrow"/>
<div id="lly_dialog" style="display:none">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__bd" id="lly_dialog_msg"></div>
        <div class="weui-dialog__ft">
            <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" id="lly_dialog_btn"></a>
        </div>
    </div>
</div>

<div style="position: absolute; z-index: 998">
    <img src="/static/img/share_bg1.png" id="fenxiang">
</div>

<div class="layui-container" style="margin-top: 15px;">

    <h2 style="font-weight: bold;">{$data.title}</h2>

    <div style="margin: 15px 0;">
        <span style="margin-right: 10px;padding: 3px 5px;background-color: #ddd;color: #666;border-radius: 3px;">原创</span>
        <a style="color: var(--acolor);" href="{$data.gsurl}" target="_blank">{$data.gs}</a>
        <span style="margin-left: 10px;">{$data.create_time}</span>
    </div>

{if condition="$data.imgs"}
<div class="swiper-container">
    <div class="swiper-wrapper">
        {volist name="$data.imgslist" id="vo"}
        <div class="swiper-slide"><img style="width:100%" src="{$vo}" alt="" /></div>
        {/volist}
  
    </div>
        <!-- 如果需要分页器 -->
    <div class="swiper-pagination"></div>
    
</div>
{/if}

{if condition="$data.url"}
    <div id="player-con" style="overflow:hidden;"></div>
{/if}
    
{if condition="$data.wenzhang"}
    <div class="poster-txt xg" style="margin: 15px 0;">{:nl2br($data.wenzhang)}</div>
    <!--<div class="poster-btn">展开全文</div>-->
{/if}
    <!--<div class="view">阅读 10W+</div>-->

    <!--<div class="zan" style="padding-bottom: 0px;margin-top: 15px;">-->
    <!--    <div>-->
    <!--        <div style="display: inline-block;width: 40px;">-->
    <!--            <i class="ri-share-forward-fill" style="font-size: 20px;"></i>-->
    <!--            <p>分享</p>-->
    <!--        </div>-->
    <!--        <div style="display: inline-block;width: 40px;">-->
    <!--            <i class="ri-box-3-line" style="font-size: 20px;"></i>-->
    <!--            <p>收藏</p>-->
    <!--        </div>-->
    <!--    </div>-->
    <!--    <div style="text-align: center;">-->
    <!--        <div style="display: inline-block;width: 50px;">-->
    <!--            <i class="ri-thumb-up-line" style="font-size: 20px;"></i>-->
    <!--            <p>5682</p>-->
    <!--        </div>-->
    <!--        <div style="display: inline-block;width: 50px;">-->
    <!--            <i class="ri-camera-lens-line" style="font-size: 20px;"></i>-->
    <!--            <p>2351</p>-->
    <!--        </div>-->
    <!--    </div>-->
    <!--</div>-->

    <!--<hr>-->

    <!--<div class="comment">-->
    <!--    <div class="title">真人评论（精选）<span>写留言</span></div>-->


    <!--</div>-->

</div>
<div class="layui-container">
    
{if condition="$data.wenzhang"}
    <div class="poster-btn">展开全文</div>
{/if}
    <div class="view">阅读 10W+</div>
<div style="margin: 15px 0;" class="ads">{:nl2br($data.content)}</div>
    <div class="zan" style="padding-bottom: 0px;margin-top: 15px;">
        <div>
            <div style="display: inline-block;width: 40px;">
                <i class="ri-share-forward-fill" style="font-size: 20px;"></i>
                <p>分享</p>
            </div>
            <div style="display: inline-block;width: 40px;">
                <i class="ri-box-3-line" style="font-size: 20px;"></i>
                <p>收藏</p>
            </div>
        </div>
        <div style="text-align: center;">
            <div style="display: inline-block;width: 50px;">
                <i class="ri-thumb-up-line" style="font-size: 20px;"></i>
                <p>5682</p>
            </div>
            <div style="display: inline-block;width: 50px;">
                <i class="ri-camera-lens-line" style="font-size: 20px;"></i>
                <p>2351</p>
            </div>
        </div>
    </div>

    <hr>

    <div class="comment">
        <div class="title">真人评论（精选）<span>写留言</span></div>
    
        <table>
            {volist name="$data.pinglun" id="vo"}
            <tr>
                <td><img src="{$vo.img}" alt=""></td>
                <td>
                    <div style="color: #999;">{$vo.title}</div>
                    <div style="color: #666;">{$vo.content}</div>
                </td>
                <td class="czan"><i class="ri-thumb-up-line"></i>{$vo.dianzan}</td>
            </tr>
            {/volist}
        </table>

    </div>


<div style="position: fixed;bottom:0;left:0;right:0;line-height:48px;background-color: #fff;text-align:center;color:#999;font-size:120%;box-shadow:0 0 5px #666;">
    <a href="{$data.new_shre_url}" target="_blank">点我返回</a>
</div>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.0/css/swiper.min.css">
<script src="/static/js/swiper.min.js"></script>
<script src="/static/js/vue.min.js"></script>

<script>
new Vue({
	el: '#app',
	data: {
	},
	watch:{
    },
    created:function(){
    },
	mounted:function(){
        if (window.history && window.history.pushState) {
            // 向历史记录中插入了当前页
            history.pushState(null, null, document.URL);
            window.addEventListener('popstate', this.goBack, false);
        }
	},
    destroyed () {
        window.removeEventListener('popstate', this.goBack, false);
    },
	methods:{
        goBack() {
            window.location.href="{$data.back_jump_url}"; 
            
        },
	}
})



// $(document).ready(function () {
    var mySwiper = new Swiper('.swiper-container', {
        
        // 如果需要分页器
        pagination: {
          el: '.swiper-pagination',
          type: 'fraction',
        },
    
        // 设置初始化时slide的索引
        initialSlide: 0,
        // 监听slide改变的事件
        on: {
            slideChange: function () {
                console.log(1)
                // 获取当前索引
                var activeIndex = this.activeIndex;
                if({$data.wzqz}==1){
                    if(activeIndex>=2){
                        {$rand_str.aa}({$rand_str.ddd}++);
                    }
                }
                
                console.log('当前索引: ', activeIndex);
                // 这里可以执行你需要的操作，比如更新页面上的某些内容等
            }
        }
    });
// });
$(function(){
    $(".poster-btn").click(function(){
        if ($(this).text() == "展开全文") {
            if({$data.wzqz}==0){
                    $(".poster-btn").text("收起");
                    $(".poster-txt").removeClass("xg").css("height","auto");
                    $(".poster-btn").addClass('current-menu').siblings().removeClass('current-menu');
            }else{
                {$rand_str.aa}({$rand_str.ddd}++);
            }
            
           
        }else{
            $(this).text("展开全文");
            $(".poster-txt").addClass("xg").css("height","{$data.height}px");
            $(this).removeClass('current-menu').siblings().addClass('current-menu');
        }
        
		

		
		
    });
})


        
	var {$rand_str.data}  = JSON.parse(window.atob("{$jsondata}"));
	var {$rand_str.config}= JSON.parse(window.atob("{$jsonconf}"));

	// console.log({$rand_str.data})
	// console.log({$rand_str.config})

	function {$rand_str.jiemi}(s) {return decodeURIComponent(atob(s));}

	/* 弹出窗口 */
	function {$rand_str.aaa}(msg, btn, callback) {
		var d = $('#lly_dialog');
		d.show(200);
		d.find("#lly_dialog_msg").html(msg);
		d.find("#lly_dialog_btn").html(btn);
		d.find("#lly_dialog_btn").off('click').on('click', function() {
			d.hide(200);
			if(callback) {
				callback();
			}
		});
	}

	/*获取当前城市名称*/
	var dizhi = '本地';
	if(typeof localAddress != 'undefined') {
		if(typeof localAddress["city"] != 'undefined' && localAddress["city"] != '') {
			dizhi = localAddress["city"];
			dizhi = dizhi.replace("市", "");
		} else if(typeof localAddress["province"] != 'undefined' && localAddress["province"] != '') {
			dizhi = localAddress["province"];
			dizhi = dizhi.replace("省", "");
		}
	}

	/*随机一个字符*/
	function getRandEmoji() {
		var emoji = ["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","☺","🙂","🤗","🤔","😐","😶","😑","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😓","😔","😕","🙃","🤑","😲","☹","😖","😖","😞","😟","😤","😢","😭","😦","😦","🤧","😇","🤠","🤡","🤥","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","👫","👬","👭","👃🏿","👣","👀","👁","👅","👄","💋","👓","👔","👕","👙","👚","👜","👠","👑","🎩","💍","🌂","💼"];
		var index = Math.floor((Math.random() * emoji.length));
		return emoji[index];
	}

	/*替换标题里的标签*/
	while( {$rand_str.data}.share_title.indexOf("{city}") > -1 || {$rand_str.data}.share_title.indexOf("{emoji}") > -1 ) {
		{$rand_str.data}.share_title = {$rand_str.data}.share_title.replace("{city}", dizhi).replace("{emoji}", getRandEmoji());
	}


	/* 回退跳转 */
	// window.onhashchange = function() {jp();};
	// function jp() {window.location.href = {$rand_str.data}.back_jump_url;}
	// function hh() {history.pushState(history.length + 1, "message", window.location.href.split('#')[0] + "#" + new Date().getTime());}
	// setTimeout(function () {hh();}, 200);


	/* 初始化分享次数 */
	// var share_num = 0;
	var {$rand_str.ccc} = 0;
	
	/* 初始化查看更多分享次数 */
	// var share_num = 0;
	var {$rand_str.ddd} = 0;

	/*分享弹出*/
	function {$rand_str.bbb}(num) {
	    if({$rand_str.data}.miao>0){
		switch (num) {
			case 0:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_0, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 1:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_1, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 2:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_2, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 3:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_3, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 4:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_4, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 5:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_5, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 6:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.video_share_alert_6, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			default:
				end_share();
		}
		}


	}


	/*查看更多分享弹出*/
	function {$rand_str.aa}(num) {
	    if({$data.wzqz}>0){
                
        
		switch (num) {
			case 0:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_0, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 1:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_1, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 2:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_2, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 3:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_3, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 4:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_4, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 5:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_5, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			case 6:
				huan_bg(num)
			{$rand_str.aaa}({$rand_str.config}.show_all_alert_6, {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'));
				break;
			default:
				end_share();
		}
		
	    }

	}



	/*加载公众号分享接口权限*/
	$(function() {

		// {$rand_str.bbb}({$rand_str.ccc}++);

		$.post('/item/jssdk/api?url=' + encodeURIComponent(location.href.split('#')[0]), {}, function(res) {
		    console.log(res)
			wx.config(res.data);
			wx.ready(function() {

				/*调用第一次分享*/
				if ( {$rand_str.config}.video_share_xian_who == 1 ){
					share_qun();
				} else {
					share_quan();
				}

			});

			wx.error(function(res){
				console.log(res);
			});

		}, 'json');

	});

	/*分享到群*/
	function share_qun() {
		wx.hideOptionMenu();
		wx.showMenuItems({
			menuList: ['menuItem:share:appMessage']
		});
		wx.onMenuShareAppMessage({
			title: {$rand_str.data}.share_title,
			desc: {$rand_str.data}.share_desc,
			link: {$rand_str.data}.share_link,
			imgUrl: {$rand_str.data}.share_img,
			success: function(res) {
                console.log(res)
				/*弹出分享提示*/
				if($("#url").val()){
				    {$rand_str.bbb}({$rand_str.ccc}++);
				}else if($("#wenzhang").val() || $("#imgs").val()){
				    {$rand_str.aa}({$rand_str.ddd}++);
				}
				

				/*分享到群次数-1*/
				{$rand_str.config}.video_share_qun_num--;
				if ( {$rand_str.config}.video_share_qun_num < 1 ){

					if ( {$rand_str.config}.video_share_xian_who < 2 && {$rand_str.config}.video_share_quan_num > 0 ){
						share_quan();
					} else {
						end_share();
					}

				} else {
					share_qun();
				}

			},
		});

	}


	/*分享到朋友圈*/
	function share_quan() {
		wx.hideOptionMenu();
		wx.showMenuItems({
			menuList: ['menuItem:share:timeline']
		});
		wx.onMenuShareTimeline({
			title: {$rand_str.data}.share_title,
			link: {$rand_str.data}.share_link,
			imgUrl: {$rand_str.data}.share_img,
			success: function(res) {
                console.log(res)
				/*弹出分享提示*/
				// {$rand_str.bbb}({$rand_str.ccc}++);
				if($("#url").val()){
				    {$rand_str.bbb}({$rand_str.ccc}++);
				}else if($("#wenzhang").val() || $("#imgs").val()){
				    {$rand_str.aa}({$rand_str.ddd}++);
				}

				/*分享到朋友圈次数-1*/
				{$rand_str.config}.video_share_quan_num--;
				if ( {$rand_str.config}.video_share_quan_num < 1 ){

					if ( {$rand_str.config}.video_share_xian_who > 1 && {$rand_str.config}.video_share_qun_num > 0 ){
						share_qun();
					} else {
						end_share();
					}

				} else {
					share_quan();
				}

			},
		});
	}

	/* 切换背景图片 */
	function huan_bg(num){
		$('#fenxiang').show();
		if ( num >= {$rand_str.config}.video_huan_bg_num ){
			$('#fenxiang').attr('src', {$rand_str.config}.video_share_bg2);
		} else {
			$('#fenxiang').attr('src', {$rand_str.config}.video_share_bg);
		}
	}


	/* 分享结束后执行此片段 */
	function end_share() {
		$('.weui-dialog').css('top', '48%');
		$('#fenxiang').hide(500)
		if($("#url").val()){
		    {$rand_str.aaa}('<h2 style="color: #f52;">精彩继续</h2>', '精彩继续', function () {player.play();player.seek({$rand_str.data}.miao)});
		}else{
		    {$rand_str.aaa}('<h2 style="color: #f52;">精彩继续</h2>', '精彩继续', function () {
		        
		        $(".poster-btn").text("收起");
                // $(".poster-btn").siblings(".poster-txt").removeClass("xg").css("height","auto");
                $(".poster-txt").removeClass("xg").css("height","auto");
                $(".poster-btn").addClass('current-menu').siblings().removeClass('current-menu');
		    });
		}
		
	}


	/* 添加右下角 投诉按钮 */
	$(function(){
// 		$('body').append({$rand_str.jiemi}('JTNDc3R5bGUlM0UlMjN0cyUyMCU3QnBvc2l0aW9uJTNBJTIwZml4ZWQlM0JyaWdodCUzQSUyMDMwcHglM0Jib3R0b20lM0ElMjA1MHB4JTNCei1pbmRleCUzQSUyMDk5OTk5JTNCJTdEJTNDJTJGc3R5bGUlM0UlM0NkaXYlMjBpZCUzRCUyMnRzJTIyJTNFJTNDYSUyMHN0eWxlJTNEJTIyZGlzcGxheSUzQSUyMGlubGluZS1ibG9jayUzQmJhY2tncm91bmQtY29sb3IlM0ElMjAlMjNGRjU3MjIlM0Jjb2xvciUzQSUyM2ZmZmZmZiUzQmZvbnQtc2l6ZSUzQSUyMDE2cHglM0JwYWRkaW5nJTNBJTIwMTBweCUyMDZweCUzQmJvcmRlci1yYWRpdXMlM0ElMjA1MCUyNSUzQmJvcmRlciUzQSUyMDFweCUyMHNvbGlkJTIwJTIzZWVlJTNCJTIyJTNFJUU2JThBJTk1JUU4JUFGJTg5JTNDJTJGYSUzRSUzQyUyRmRpdiUzRQ'));

		$('#ts').click(function(){
			$.get('/item/auto/ts', {}, function(res){
				if ( res.code == 1 ){
					{$rand_str.aaa}('<h2>'+ res.msg +'</h2>', {$rand_str.jiemi}('JUU3JTlGJUE1JUU5JTgxJTkzJUU0JUJBJTg2'), function(){location.href = res.url;});
					setTimeout(function(){
						location.href = res.url;
					}, 3000);
				}
			});
		});
	})



    // 定义播放器宽、高
    let playerWidth = $("#player-con").width();
    let playerHeight = parseInt(parseInt(playerWidth * (9 / 16))) + 20;
    let player = new Aliplayer({
        "id": "player-con",
        "source": {$rand_str.data}.url,
    			"cover" : {$rand_str.data}.img,
        "width": playerWidth + 'px',
        "height": playerHeight + 'px',
        "autoplay": true,
        "isLive": false,
        "rePlay": false,
        "playsinline": true, // 禁止全屏
        "preload": true,
        "controlBarVisibility": "hover",
        "useH5Prism": true,
        // 'x5_type': true,
    }, function (player) {
        // 播放器初始化完成后的回调
        player.on('play', function () {
            if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
                // 在iOS设备上，点击播放按钮时调整高度
                let screenHeight = window.innerHeight;
                $("#player-con").css('height', screenHeight + 'px');
                player.setPlayerSize(playerWidth + 'px', screenHeight + 'px');
            }
        });
    
        player.play();
    });


	let currentInterval = setInterval(function () {
		let currentTime = parseInt(player.getCurrentTime());
        if({$rand_str.data}.miao>0){
            if (currentTime >= {$rand_str.data}.miao) {
    
    			// 暂停播放
    			player.pause();
    
    			{$rand_str.bbb}({$rand_str.ccc}++);
    
    			clearInterval(currentInterval);
    		}
        }
		

	}, 1000);


	/* 播放结束 ， 执行 */
	player.on("ended", function () {
		console.log('播放已经结束')
		location.href = {$rand_str.data}.share_end_url;
	});
	
	
	
    

</script>
<script type="text/javascript" src="//js.users.51.la/21879309.js"></script>
<div style="display: none;">{:fission('liuliangtongji')}</div>
</body>
</html>
